home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group97a.txt / 000071_icon-group-sender _Wed Mar 5 10:44:03 1997.msg < prev    next >
Internet Message Format  |  2000-09-20  |  1KB

  1. Received: by cheltenham.cs.arizona.edu; Wed, 5 Mar 1997 16:30:01 MST
  2. To: icon-group@cs.arizona.edu
  3. Date: Wed, 5 Mar 1997 10:44:03 -0800
  4. From: Brian Rogoff <bpr@best.com>
  5. Message-Id: <Pine.SGI.3.95.970305103012.2721A-100000@shellx.best.com>
  6. Sender: icon-group-request@cs.arizona.edu
  7. Subject: Recursive directory traversal in Icon
  8. Errors-To: icon-group-errors@cs.arizona.edu
  9. Status: RO
  10. Content-Length: 672
  11.  
  12. Hi,
  13.     I've been reading the Icon web references, trying to decide if I 
  14. should forsake Perl in favor of Icon, and I have two questions.
  15.  
  16. (1) How do I traverse a hierarchical directory structure in Icon? I found 
  17.     chdir, but I didn't find the equivalent of 'ls' and 'stat'. Is there 
  18.     a way to do this in Icon, or do you rely on the external environment?
  19.  
  20. (2) Why no module system? I've found modules helpful in every language I've 
  21.     worked with, and Icon doesn't seem to be different in that it could use
  22.     such a system. I noticed someone else mention this, but it is not in
  23.     the FAQ. Perl has benefitted greatly from the inclusion of modules.
  24.  
  25. -- Brian
  26.  
  27.  
  28.